package renpyas3.model.structs
{
	/**
	 * data structure for each of the choices (buttons)
	 * of a RenpyMenu
	 */
	public class MenuChoice
	{
		private var _choiceText:String;
		private var _nextInstructionIndex:Number; 
		public function MenuChoice(line:String, lineNumber:uint, nextInstructionIndex:uint) 
		{
			_choiceText = line;
			_nextInstructionIndex = nextInstructionIndex;
		}
		
		/**
		 * the text in the button 
		 */
		public function get choiceText():String { return _choiceText; }
		
		/**
		 * next labelBlock instruction if in this option is chosen 
		 */
		public function get nextInstructionIndex():Number { return _nextInstructionIndex; }
		
	}

}